home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat3 / Tcl / concat.z / concat
Text File  |  1998-10-30  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4. ccccoooonnnnccccaaaatttt((((3333TTTTccccllll))))                                                      ccccoooonnnnccccaaaatttt((((3333TTTTccccllll))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      concat - Join lists together
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ccccoooonnnnccccaaaatttt ?_a_r_g _a_r_g ...?                                                     |
  13.  
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      This command treats each argument as a list and concatenates them into a
  17.      single list.  It also eliminates leading and trailing spaces in the _a_r_g's
  18.      and adds a single separator space between _a_r_g's.  It permits any number
  19.      of arguments.  For example, the command
  20.  
  21.           ccccoooonnnnccccaaaatttt aaaa bbbb {{{{cccc dddd eeee}}}} {{{{ffff {{{{gggg hhhh}}}}}}}}
  22.  
  23.      will return
  24.  
  25.           aaaa bbbb cccc dddd eeee ffff {{{{gggg hhhh}}}}
  26.  
  27.      as its result.
  28.  
  29.      If no _a_r_gs are supplied, the result is an empty string.                  |
  30.  
  31.  
  32. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  33.      concatenate, join, lists
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.